﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Web.Mvc;

namespace MMITWeb.Models
{
    public class UserProfileViewModel
    {
        [Display(Name="User Name: ")]
        public string Username
        {
            get;
            set;
        }
        
        [Required]
        public string FirstName
        {
            get;
            set;
        }
        
        [Required]
        public string Middlename
        {
            get;
            set;
        }

        [Required]
        public string Lastname
        {
            get;
            set;
        }
        [HiddenInput]
        public string Sex
        {
            get;
            set;

        }
        [Required]
        public string Mobile
        {
            get;
            set;
        }

        [Required]
        [DataType(DataType.EmailAddress)]
        public string Email
        {
            get;
            set;
        }

        [DataType(DataType.Text)]
        [Display(Name = "Identification Number")]
        public string IdentificationNumber
        {
            get;
            set;
        }

        public IEnumerable<Telerik.Web.Mvc.UI.DropDownItem> Countries
        {
            get;
            set;
        }


        public IEnumerable<Telerik.Web.Mvc.UI.DropDownItem> IdentificationTypes
        {
            get;
            set;
        }
    }
}